package com.hong.dao;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hong.bean.User;
import org.apache.ibatis.annotations.Param;

import java.time.YearMonth;
import java.util.List;


public interface UserMapper extends BaseMapper<User> {


    YearMonth selectUserById(Long id);


    void batchUpdateUserByIds(@Param("list") List<User> list);


    IPage<User> getAddressId(Page<User> user);

    Integer insertOrUpdate(User user);



}
